package com.supreme.securityserver.service;

import com.supreme.commonentity.mysql.primary.SysUser;
import com.supreme.commonmybatis.service.quick.UserOrmService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class UserService {

    @Resource
    private UserOrmService userOrmService;

    public SysUser getUserInfo(Long userId) {
        return userOrmService.getById(userId);
    }
}
